<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(document).ready(function(){
		$("form").submit(function(){
			if($(":input[name=id]").val()==""){
				alert("아이디를 입력하세요!");
				return false;
			}
			if($(":input[name=password]").val()==""){
				alert("패스워드를 입력하세요!");
				return false;
			}
		});
	});
</script>
<form method="post" action="${initParam.root}member/login.do">
<!-- <input type="hidden" name="command" value="login"> -->
id : <input type="text" name="id"><br>
pass : <input type="password" name="password"><br>
<input type="submit" value="로그인">
</form>










